package com.nantian.nfcm.bms.loan.entity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 贷款状态更新通知消息
 * @author ljx26_000
 *
 */
@Entity
@Table(name = "msg_info")
public class MsgInfo {
	/*
	 * 消息id
	 */
	private Long id;
	
	/*
	 * 用户名
	 */
	private String userName;
	
	/*
	 * 贷款id
	 */
	private String loanId;
	
	/*
	 * 消息提醒内容
	 */
	private String msg;
	
	/*
	 * 消息提醒时间
	 */
	private String msgTime;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

    @Basic
    @Column(name = "user_name")
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

    @Basic
    @Column(name = "loan_id")
	public String getLoanId() {
		return loanId;
	}

	public void setLoanId(String loanId) {
		this.loanId = loanId;
	}

	
    @Basic
    @Column(name = "msg")
	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

    @Basic
    @Column(name = "msg_time")
	public String getMsgTime() {
		return msgTime;
	}

	public void setMsgTime(String msgTime) {
		this.msgTime = msgTime;
	}
	
	
}
